//
//  blogModel.m
//  Systetagram
//
//  Created by 欧杨 on 2021/1/6.
//

#import "blogModel.h"

@implementation blogModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}

#pragma mark -for safety

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (void)setNilValueForKey:(NSString *)key
{
    
}

- (BOOL)isEqual:(id)other
{
    if (other == self) {
        return YES;
    } else if (![super isEqual:other]) {
        return NO;
    } else {
        return ((blogModel *)other).ID == self.ID;
    }
}

@end
